/*
* This file is a part of the open-eBackup project.
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*
* Copyright (c) [2024] Huawei Technologies Co.,Ltd.
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*/
package openbackup.data.access.client.sdk.api.framework.dee.model;

import lombok.Data;

import java.util.Map;

/**
 * 一体机共享路径恢复共享信息
 *
 */
@Data
public class OcLiveMountFsShareInfo {
    /**
     * 共享类型 0: cifs; 1: nfs
     */
    private int type;

    /**
     * 克隆文件系统名称
     */
    private String fileSystemName;

    /**
     * 0:只读; 1:读写
     */
    private int accessPermission;

    /**
     * nfs客户端或cifs用户信息
     * nfs:           |  cifs:
     * clientType:0   |  shareName:Mount_***
     * clientName:*   |  domainType:2
     * squash:1       |  userNames:[user1,user2]
     * rootSquash:1   |
     * portSquash:1   |
     */
    private Map<String, Object> advanceParams;
}
